import tushare as ts

pro = ts.pro_api('02a521fb4019800b15282ee9fd8aa7e90d771a5b6f8906d60f20d9ca')
df = pro.daily(ts_code='002771.SZ', start_date='20140103', end_date='20240103')

datapath1 = "../stock_data/SZ002771.csv"
df.to_csv(datapath1)

print("done")
